// 统一请求路径前缀在libs/axios.js中修改
import {
    getRequest,
    postBodyRequest,
    exportPost
} from '@/libs/axios';

export const companyAwaitPageAPI = params => {
    return postBodyRequest('/company/await/page', params);
};
// export const companyAwaitPushAPI = params => {
//     return getRequest('/companies/push', params);
// };

export const companyAwaitDeleteAPI = params => {
    return getRequest ('/company/await/del',params );
}
// 批量入库
export const companyAwaitPushAPI = params => {
    return getRequest ('/company/await/push',params );
}
// 导出所有
export const exportAllBysXjInfo = params => {

    return exportPost('/company/await/export/all',params);
};
//导出所选
export const exportBatchMarketDataAPI = params => {
    return exportPost('/company/await/export/select?ids='+params.ids,params,'get');
};